﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="MantenimientoDeporte.aspx.cs" Inherits="UIWeb.MantenimientoDeporte" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h3>Mantenimiento Deportes</h3>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="10">
        <ProgressTemplate>
            <div id="ovUp" runat="server" class="over">
                Cargando...
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div>
                <div class="form" style="float: left;">
                    <div>
                        <div>
                            Nombre:
                        </div>
                        <div class="formInput">
                            <asp:TextBox ID="txtNombre" runat="server" Style="float: left;"></asp:TextBox>
                        </div>
                       
                        <div class="clear">
                        </div>
                    </div>
                    <br />
                    <div>
                        <asp:LinkButton ID="lnkAlta" runat="server" CssClass="lnkbtn" OnClick="lnkAlta_Click">Alta</asp:LinkButton>
                        <asp:LinkButton ID="lnkBaja" runat="server" CssClass="lnkbtn" OnClick="lnkBaja_Click">Baja</asp:LinkButton>
                        <asp:LinkButton ID="lnkModificar" runat="server" CssClass="lnkbtn" OnClick="lnkModificar_Click">Modificar</asp:LinkButton>
                    </div>
                      <br />
                      
                        <asp:Label ID="lblError" runat="server"></asp:Label>
                    
                </div>
                <div style="float: right; width: 570px; padding-left: 20px;">
                    <asp:GridView ID="DGVDeportes" runat="server" OnSelectedIndexChanged="GridView1_SelectedIndexChanged"
                        AutoGenerateSelectButton="True" AutoGenerateColumns="False" 
                        CellPadding="4" ForeColor="#333333" GridLines="None" Width="541px" PageSize="50">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        <Columns>
                            <asp:BoundField DataField="Id" HeaderText="ID" Visible="False" />
                            <asp:BoundField DataField="Nombre" HeaderText="Deporte">
                            <ControlStyle Width="500px" />
                            </asp:BoundField>
                        </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                   
                </div>
                <div class="clear">
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
